package cardemo;

import javax.inject.Inject;

/**
 * Car依赖Engine,Seat,Wheel
 * @author cdc
 *
 */
public class Car {
	
	@Inject
	Engine engine;
	@Inject
	Seat seat;
	@Inject
	Wheel wheel;
	
	public static void main(String[] args) {
		DaggerCarComponent.builder().carModule(new CarModule()).build().inject(new Car());
	}

}
